package io.gitee.yxsnake.framework.system.api;

import com.github.lianjiatech.retrofit.spring.boot.core.RetrofitClient;
import io.gitee.yxsnake.framework.core.domain.Result;
import io.gitee.yxsnake.framework.system.api.domain.vo.RemoteClientVo;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * @author snake
 * @description 客户端服务
 * @since 2024/11/2 23:04
 */
@RetrofitClient(baseUrl = "${retrofit.pisces-system-server:http://pisces-system-server:21001/}")
public interface RemoteClientService {

    /**
     * 根据客户端id获取客户端详情
     *
     * @param clientId 客户端id
     * @return 客户端对象
     */
    @GET(value = "inner/sysClient/queryByClientId")
    Result<RemoteClientVo> queryByClientId(@Query("clientId") String clientId);

}
